package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 调整字段对象 adjust_fields
 *
 * @author qijian
 * @date 2022-10-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("adjust_fields")
public class AdjustFields extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @Excel(name = "用户id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @Excel(name = "菜单ID")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "菜单ID")
    private Long menuId;

    @Excel(name = "菜单名称")
    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @Excel(name = "调整的字段")
    @ApiModelProperty(value = "调整的字段")
    private String adjustedFields;

}
